﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CX.Essential.Domain.溯源管理
{
    /// <summary>
    /// 溯源管理表（基本信息）
    /// </summary>
    public class EssentialModel
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Key]
        public int Eid { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        public int Gid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? EProductionBatches { get; set; }
        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int EShelfLife { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? ELicense { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? EEnterprise { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int EMessage { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string? EcoverImg { get; set; }
        /// <summary>
        /// 产品检测报告(照片)
        /// </summary>
        public string DImg { get; set; }

    }
}
